package cn.botter.auth.domain.convert;

import cn.botter.auth.domain.entity.AuthRoleBO;
import cn.botter.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper
public interface AuthRoleConvert {
    AuthRoleConvert INSTANCE = Mappers.getMapper(AuthRoleConvert.class);
    /**
     * AuthUserDTO转换为AuthUserBO
     */
    AuthRole convertBoToRole(AuthRoleBO authRoleBO);

}
